-- GENERATED SPELL FOR [Snapjaw Crocolisk] --


function spell0_1152(pUnit, Event) --@Tendon Rip,n/a--
pUnit:FullCastSpellOnTarget(3604,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1152', 8000, 1)
end

function Sorts_1152(pUnit, Event)
local choix_sorts_1152 = math.random(0, 0)
if choix_sorts_1152 == 0 then
pUnit:RegisterEvent('spell0_1152', 1, 1)
end
end

function mob1152_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1152', math.random(1500, 3000), 1)
end

function mob1152_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1152_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1152_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1152, 1, 'mob1152_Action')
RegisterUnitEvent(1152, 2, 'mob1152_Leave')
RegisterUnitEvent(1152, 3, 'mob1152_Kill')
RegisterUnitEvent(1152, 4, 'mob1152_Die')
